package com.jy.modules.cims.component.credit.creditor.transferor;

import java.util.Map;

import com.jy.modules.cims.data.dto.credit.CreditApplyDto;
import com.jy.modules.cims.data.dto.credit.CreditApplyResultDto;

/**
 * @description 债权受让处理接口。
 * @author shengzhoutao
 * @date 2015-07-07
 */
public interface ICreditorTransferorDeal extends ICreditorTransferor {
	/**
	 * @description 接受申请
	 * @param applyDto
	 *            债权申请实体
	 */
	public void receiveApply(CreditApplyDto applyDto) throws Exception;

	/**
	 * @description 获取数据结果
	 * @param dataMap
	 *            数据存放MAP
	 * @return 债权申请结果实体
	 * @throws Exception
	 */
	public CreditApplyResultDto getMatchedResult(Map<String, Object> dataMap) throws Exception;

	/**
	 * @description 发送申请结果
	 * @param applyDto
	 *            债权申请实体
	 * @throws Exception
	 */
	public void sendApplyResultToConsult(CreditApplyDto applyDto) throws Exception;

	/**
	 * @description 确认申请结果
	 * @param applyDto
	 *            债权申请实体
	 * @param applyResultDto
	 *            债权申请结果实体
	 * @throws Exception
	 */
	public void confirmApplyResult(CreditApplyDto applyDto, CreditApplyResultDto applyResultDto) throws Exception;
}
